{% extends "base.html" %}
{% block title %}{{ username }}{% endblock %}
{% block head %}Resume settings for 
	{% if user.first_name %}
		{{ user.first_name }}
	{% else %}
		{{ user.username }}
	{% endif %}
{% endblock %}
{% block content %}
	{% if user.account.resume %}
		<p>Resume Uploaded: {{ filename }}
		<p><a href="/resume/{{user.username}}" >View Resume</a></p>
		<p><a href="/user/resume/delete">Delete Resume</a></p>
	{% else %}
		<form method="post" action="." enctype="multipart/form-data">
			{% csrf_token %}
			{{ form.as_p }}
			<input type="submit" value="Upload" />
		</form>
	{% endif %}
{% endblock %}
